bugfix that make the first load scroll works