double click to exit pan state