Added support for switching on screen size, instead of element size