Tweaked rel toggle, sorted more code