reset after new window click in expanded view
adjusted whitespace in collapsed preview
fixed iframe height 100%
adjuested default values - removed unused function