Sets the direction of the moving contentnCSS3
