Fixed bug related to subclassing ScrollView

bug: Exteding ScrollView class using AMD made the class be singleton and
all subclasses shared the same queue.