fixing mortgage rotation for firefox