added init and scrolling