I've got a slightly smaller screen - would the code still work, or does it need to be a fixed resolution?