#52 add preview window controller