Added comments to the view next function, the view next and view previous buttons still do not work, issue is not fixed