fix layout problem on reduced size search panel