fixed error where player is occasionally able to laterally glide through a one way platform
added comments