Add option to wrap around selection in popup

Close #39