ap for demo project 1.Detecting online status every 3 seconds. if it is offline will create fence to display. 2.Have some bugs in moving algorithm. reference : https://davidwalsh.name/orientation-change [Demo] (http://kidd1118.github.io/ap/index.html)