Better calculate at bottom of scroll