Adding scroll to functionality