go to media page when clicking in next button or text