remove unused addition
set size of window depending on one/double view