This is a modification from first jquery plugin, using animate function of jquery , when the user drag the screen , the content goes to the direction right or left using hammer.js