Fixes NPE in smoothScrollToPosition* methods

Fixes #206