feat(position): allow 'auto' positioning, flips if not enough room

If position includes the string 'auto', it should now test to see if
there is enough room to display. If not, it will flip its
orientation.