making changes to work for smaller devices