added support for different screen sizes on device list