fixed scroll issues in the scroll back/hide process, and added bug fix for the AssertMacro bug