Added support for attaching a listener when the above view is sliding.