Fixes #1

Update the center of map upon marker click and upon window resize.