before hook quickfix, sidebar hide animation improvement