a boilderplate for creating single page transitions in wechat or other mobile browsers