pause key bindig 'p'; interaction between frame and preview