Implemented screen transitions.