add gate depth to right axis