Error in Horizontal positioning

getPageScroll returned (0,0) if page was only scrolled horizontally in Firefox and IE8 leading to positioning the lightbox on the left side of the page even when scrolled. Only occurs if vertical scroll is 0.