add position absolute to btn.css() call to fix button position in Safari