got character movement within bounds sorry for image