spacebar toggles animation