added basic view animation
removed old animation js code