sliding panel zoom bug fix