fix issues with index page for mobile layout