Migrated OpenGLScroller to unified API

- Cast nfloat to float