pause screen, and relevant functions