making sure back button goes to homepage
constraining thumbnail size