maintain center when map resized