fixed bug with click and drag for fancybox elements