added view mode buttons