css cleanup and transition fade