removes the scrollbar shifting problem