init window with scrolling implemented
fixed merge conflict fixed