Sliding game in HTML