updating to work with scrollview