improve text positioning

Change-Id: I9a6d99105ae32a2e03e4756983a87cb4ad174ea2
improve bubble positioning

Change-Id: Ifeecb23b0f2ee3218b052aaf688dcd51bcc30d58
text position for legend improvements

Change-Id: I06d8baf8cfe59999cd6b417fc6e70c1bd6eede27