solving the phantom scrollbar issue