add toggle resolution feature

implements #22 

you can toggle between the two modes with Ctrl+R (for resolution)