initial revision of screen transition, not tested yet.