Adding a ease in ease out curve