Added functionality to prevent the datasource from wrapping at the ends. Defaults to having wrapping on