added scrolling with spacebar, though needs some work