proper triangle layout and dynamic resizing