prettified controllers.js and added a timeout to cycle the wallpapers