1. Changed easing curve to bezier
2. Changed animation into css