Resizing and updating map when page resizes