They generally do this when are in play mood. the roll over the bed sheet they make the play bow on the bed. When they are happy and excited. You can calm you dog by distracting him to some other thing such as biscuit or treat or taking the name of its toys. some make noises as well while doing so. Distract them while doing so is the way to stop him to do this.