do not begin pan gesture when pan happen in the menu view