MKitten always follows me into the bathroom, then does this upright, demented digging thing on the side of the bath. In a dog like fashion. Then puts his paws on the loo seat in order to inspect what's going to be flushed away 
Might be a breed thing, because I've seen a lot of youtube clips of other Devons doing the same thing on vertical surfaces.