fixed issue with infowindow cropping by adding adjusment to setcenter