create window and gesture only if enabled