Added use of $timeout to scroll to ensure it's called after render