added toggle source code in jquery. pretty cool hack. codebase getting pretty messy