Added gesture recognizers to the resize handles.