prettier layout
bug fixes for Firefox and IE