add toggle resolution feature

implements #22