added option to disable scroll