Raise exception if a wrong direction has been specified
Bug: Use specified scroll view query string instead of hardcoded query string