revert
don't freak out if transform is undefined
this might happen if gallery is opened before (document).ready