rewrite to accommodate parallax background images