I don't like the fact that the controller knows about the view (or the display). Should it be a media query or something like this ? I guess you can also access window.innerWidth inside the template since it's a global variable (but it's just a guess).