[library] Remove leftover code from TWLayoutManager