fix create scrollbar handling