fixed the scrollbar bug which is shorter than usual due to the titleMargin