Fixed gallery js