mobile support
added data attributes to the x option