The reason why your body might jerk randomly before you go to sleep