added repeater class for parallax backgrounds