function ScrollView() {
	var self = Ti.UI.createWindow({
		title : 'Scroll View'
	});
	
	var scrollView = Ti.UI.createScrollView({});
	var map = Ti.UI.createImageView({
		image : 'images/yosemite-map.png'
	}); scrollView.add(map);
	
	self.add(scrollView);
	
	return self;
};

module.exports = ScrollView;

Complete lesson 16 - scroll view