Fix parallax position when refresh the page

Parallax effect only move the image between the max and min edges, to avoid gray spaces when the position is calculated on a page refresh.