revert commit ec020cd that breaks display of sidepages

Fixes a problem of multiple sidepages drawing at the same time when navigating between them