fix width to correctly work in firefox