whitespace and comment wrap
make room for a transition method
split content element transition code into method