resign first responder when panning