changed where transition happens in display function to correct what level text gets placed at
Merge pull request #24 from tehandyb/master

changed where transition happens in display function to fix text overflow