trying to get gui to auto-recenter map