Fix expansion of sections on ajax clicks