fix calculation of viewport when scrollbar is on window object
fix calculation of viewport when scrollbar is on window object

Change-Id: Ic4a02af7f9b281908528f4b49bc7bd0028cdf267

justsocialapps/just-magic-scroll