JavaScript touch slider with additional dot menu