On small mobile devices the infowindow can barely fit into the screen area. When the infowindow is created I need to have the map scroll its position to make sure the infowindow is fully shown on the screen.
This is the automatic behavior of Google Maps API for their infowindows.
How can I achieve the same capability within the JS API?