Added Mobile Detect

Added mobile detect and tweaked fancybox