Adds height resize detection