Create internal and external scroll listener