fix swipe down now working on 2.x
update style and deprecated method calling