added callback method in pulltorefresh list to know when the header
state changes, and used it in swipelist to block swipe temporarily