cgdemo and sidebar