added .on again, and moved slide_up to open