Started to make resolution scale dynamic

Still needs some work, not perfect, but okay for now