Firefox layout fixes

Tested on firefox and the layout needed some correction for it.