Update

Update minified version to fix bugs and performance.
Transitions for smooth fadings added too.