start working on legend positioning