working on parallax and refactoring