Add css transition to search box