support rotate pics in fancy box