Cross browser/platform fixes

Works in Crome, Safari, Firefox, IE10 and IOS (iphone and ipad)
Clean up css and layout fix.