Added responsive code to compensate for FireFox