refactoring angular-parallax