fix DEBUG location in case ges_ev is nil
use rotate gesture to set screen mode