Adding transition between windows