switch to request animation frame for performance and speed up animation of banner