Define scrolling mixin  before using it, fixes error in dev