Fixed scrollTop bug with layout.