tried to fix sizing policy of picture window