changed layout of table to fit tablet screen