fixed fade-out bug where elements  already set to display:none would fade-in before allowing the targeted elements to fade out