adding corner resizing
adding borders to the other directions
Merge pull request #5 from kunigami/resizing

merging with resizing branch to include corner resizing