improvements to the ui, fix layout in vertical theme