Fixing a bug in the scroll view

Now it seems fixed...