fixing display for firefox