with '.resize()', responsive layout now is functional.