Fixes scroll bar position