cleaned up mouse input, added transition and game resetting