parallax logic
check parallax