fix search bar position bug in collipse mode