restructure: move guide() to root scope to allow the button at the header