had to move ov map centering to the timeout function.  otherwise the map resizing was causing a bug.