virtual resolution based on width