add resize trigger