set offset for parallax image