setting frames in tracking window
activate shortcuts only when cursor is within the view