added basic homepage slider, moved js from base.html to blocks