what the hell was I thinking with custom jquery?
lots more tuning