Updates to basic detect element resize