Detect touch events per https://github.com/srobbin/jquery-pageslide/pull/85
add open and close callbacks