search moved to layout