Adding smooth transitions between states

Adds ngAnimate and uses it to transition between states