fix some TS compiler issues
fixing scroll bar issue