display the corresponding slide on navigation click