display sidebar elements based on lesson contents