The HorizontalScrollview should behave like this by default. But what you can try is adding this to your HorizontalScrollview in XML:
android:overScrollMode="always"
or add this to your code:
yourHorizontalScrollview.setOverScrollMode(View.OVER_SCROLL_ALWAYS);
So it will always show the animation left or right depending on the direction you scroll.