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.
How come this didn't fail jscs? you should have a space before the `else`