small fix for scrollToComments function