implemented table view modes
Merge pull request #30 from cni/minda-view_modes

implemented table view modes