auto-positioning now works.
tidyup