added map centering