add 2 function: 1.rotate top-img;2.add fancybox to gallery