added ip selection
Merge pull request #51 from zasmarkany/replace-click-with-mousedown

added ip selection