Create animatedView.js