set up homepage structure and slider functionality