modified shifttable controller and view