fix scrolling and remove debug