remove unused javascript
use custom fade transition