changed movement
added counter and fixed limited move area