Changed scrollbubble algorithm slightly