update scroll functionality, changed layout scroll to top