Ease panning on mouseup; fix indentation