bug 1069389 - css and display fixes