fix issue that drager shifts when searching box is shown.