fixed togglefunction for peruk page