Added support to renable the scrolling if the superview is a scrollview