now its reading the json file and creating the pages. Also the option to swipe to the next page and the previous page were added.