updating scrollview and a fix for view