add previous window

add previous window