added toggle functions for wrap/fold