seperated the slider into its own slider.php file. for all pages, to tidy code and add possible seperate sliders for all pages.