Added modulo for left buttons