Swap $scrollTop variable to $scrollBottom in $scrollBottom block of code