title: function that allows players of a html game to move pngs up and down a layer
body: <p>i'm making a den designing game of sorts
  but i can't find anything that would help me create a ui that can allow the player to move the desired png/pngs up and down a layer. So say the player has a "flower pot" and they want to move the png of the flower pot behind the png of the "bed". How can i create this function?
  <a href="http://www.agame.com/game/My-New-Room" rel="nofollow noreferrer">http://www.agame.com/game/My-New-Room</a>
  like in this game at the bottom
  they have arrows that move the png up and down,
  thank you for your help in advance!</p>
  
  <p>https:// jsfiddle.net/okcjt5vf/294/ this is all my code so far.</p>