added centering after search