move search inside collapse