Update scrollbar position and size for any type of scroll