added map centering with text box