adjusting styles for smaller windows