reduce the number of traingles per bar

Change-Id: If24391481c916b689e8c8e90d6430bf7ca56a5e3
implement movement from one corner to the next

Change-Id: I6c782f7630c9f77e3e3f28a79e26391e8c97c706
avoid magic numbers

Change-Id: Ib7c3bd23e119ebee91f3f76b073faf10daa87b3e
remove all the unused functions

Change-Id: Idb78a97793615ff0ccb5377d87442deaaa09161d
remove unused variables

Change-Id: I020be0cecd3becc24edc1267b4bce714db3bb627