Preventing scrollview from going out of bounds

Does anyone know how to prevent the scrollview widget from being pulled out of bounds?

In other words, I want to limit the user to only being able to scroll within the image. [import]uid: 142472 topic_id: 28167 reply_id: 328167[/import]