Added code for scroll view