added delay for initial resize