Style fixing and cleaning in haml and scss files. Also fixed #463 and #768