add pause function during anytime of the game
note that BGM is also paused to ensure its proper looping