add guide frame and event handler