fixed tab display and added some horizontal rules