stopping and starting auto-rotating when user navigates between pages.