As other posters have mentioned there's no consistent way of doing this. You can target webkit browsers with a set of webkit specific css properties, as documented here, but these will only hit webkit browsers, so no IE or FireFox. This SO answer is more complete, but still FireFox does not allow this.
I definitely wouldn't advise using JS, you'll be around for a long time ensure that every interaction that causes scroll works (and triggers every scroll event) in all the browsers. This sort of thing is not easy (see how many ways there are to scroll here) and often it's the usability and accessibility that suffers in return for consistent prettiness, which is a major design fail.
You also have problems to do with scrollbars being hidden on many devices by default. Macs often do this and small screens do it for screen real estate reasons. You have no control over these OS and browser manufacturer decisions or user preferences.
The best solution to this problem is probably to design out the internal scrollbar.
Internal scrollbars are quite nasty for two reasons:
- They catch the full page scroll in an awkward and sometimes unpredictable manner;
- They are not an easy target to manually hit, scrollbars on the side benefit from Fitts Law, internal scrollbars do not.
There are many other design patterns for image galleries, even a carousel would be preferred.