fix gallery js

carousel thumb