Fixed some issues with panning outside the USA

Changed code that centers the map on USA on window resize, and also
changed the code to pan back to the bounding box around the USA if the
user attempts to pan away from the USA.