adds some JQuery code to allow the SVG area to be responsive