Added right and left move out of bounds handlers