added support for smaller screens