Reworked layout haml. Some minor fixes has been made in category index