fix issue with top in firefox