Fixed layout issue in main index view