fix conflict pan gesture with grid view