Lots of layout changes to support firefox UI