adjust the UI on scrolling view controller