trigger event for resizing map