Calculate height based on location of pinch touches