fixed wall movement and added leader leaving code