added support for extra small displays