Fix history error - need to pass mapCenter, zoomLevel as parameters

Was causing an error where each time the updateUrl function was called
it was using the values of mapCenter and zoomLevel when the function
was defined.

Solution: pass those values in as parameters
Merge pull request #313 from notthatbreezy/topic/history-fix

Fix history error - need to pass mapCenter, zoomLevel as parameters