added arrow buttons and value panel for gravity