Toggle pause with spacebar