add resize adjustment