converting to .on from .live
fixed jquery for toggle