for paul to look into the offsetWidth issue