this code was there originally, I don't' actually know what it does. Looks like it's adjusting the size of the scrollbar, which should be anchored to do so on its own.