Resizing working with autohide