Throw better error if invalid scroll id is used

PR for #5730 but only dealing with invalid scroll_ids and not non existing ones.