Moved unused code to own function.

Code will probably be used later, for now it can sit there.
refactoring and listeningen to viewChangeEndEvent

viewchangeend is used so the cupola image is not shown too soon
loading cupola image at start

Loading cupola image at start, then move it in to screen when it need to
show. Else a 2 MB image can take time to load for user.