Add class attr to menu items and improve widjet view