Update jquery.onepage-scroll.js

This modification is necessary if a user must pass a function or (boolean) true as parameter in some situations.
Needed for orientation check on mobile devices