context resize works