Added base class to create widgets with a side menu