Changed the layout so the table is in another div