refacted /tab/view to make the ui more friendly