implemented a non-iscroll solution for situations when iscroll isn't supported.