slider now works on homepage