Added next and previous functionality in the analytics personalize, And changed the code for navigation