Added layout css and played around with index