For this you will need to create 2 slideshows (one for mobile, one for desktop) then use this plugin to display the relevant slideshow on each device:
https://wordpress.org/plugins/wp-mobile-detect/
Then setup your shortcode like this:
[device][/device] <– phones
[notdevice][/notdevice] <– not phones