Since you are using SharePoint 2013 I would recommend you to consider the following approach. In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which is intended for rendering of List Views and Forms using HTML and JavaScript and which is a default rendering mode.
About View selector menu
ClientPivotControl control (clienttemplates.js) is intended for rendering View selector menu, SurfacedPivotCount property defines the amount of view menu options rendered horizontally (default value is 3)
Thuyavan GanesanPosted Jan 3, 2019, 10:40 AM
Chanakya JayabalanPosted Jan 2, 2019, 4:16 AM
Laxmidhar SahooPosted Jan 2, 2019, 12:11 AM