fix screen transitions