add scroll functionality (untested)