readded toggle() media.py