position of panel will be on the left of the pin if the pin is located too close to the right-side bounds of the map