tweaks to make responsive work and comaptibility with Firefox and Safari