pan to fit area of selected result

isn't perfect yet since it pans to center the area instead of just
contain it