Add slide effect to search toggling, simplifies if statements around search blocks.