More finalized version of module expansion and contraction with cookies support for tracking. Forced open module for module that shows the currentPage