add resetScrollBarPositionAfterEventTriggered