viewer div resized