smooth scrolling - test // fix logic