Added some Javascript to respond to page resizing.