fixed table data layout in show page and added viewport