make the layout work properly on Gecko browsers