fixing display issues with tables on the home page