getViewport issue with jquery 1.8-