changed alignment for total
removed unnecessary sub
added browsing for items