removing some logs
gallery next & prev
fix History change logic