change the bar direction for the demo

Change-Id: I24e45810cb154310d8e35982e2ef100cf5746e2b