Bug 868742 - Use scroll(Left|Top)Max to detect scrollable elements. r=mfinkle