added horizontal page scrolling