width and direction handling on map view hovercard