Broke out updateParallax function