JS - Games - Continuously Panning background