One section per page view added

Added single section per page view and hide future weeks from student
view
First working version for 2.4

Fixed breaks caused by changes to libraries between 2.3 and 2.4