DAR-1602, fix margin bug when switching TOC from static to fix
DAR-1602, fix highlighting last section when scrolling to the end of the page
DAR-1602, fix TOC flickering bug while scrolling
DAR-1602, fix unit test after removing deprecated deferred.js