resizing general view