added off-canvas left and right modes