wrapped the scrollnav into a widget class