Detect optional func and show/hide back/next