add padding to map bounds based on panel width/height.