prevent scrollbar on body, and call resume/stop functions