Move some code around, still need to change scene transition to view movement.