added homepage slider functionality