added touch slide functionality