hide search box when messages recalculated from the top