gallery slider and some fix