Move init of overlay and prelaoder to own method
Deleted unneeded css
Overlay transition time
Create fade effect
introduce max time