Fetching all the data from json(one by one record) with next and previous button.