This example uses a Robert Penner classic ease function, for more ready-to-use functions check Easie.