Adapt binding.resize for Shiny contexts
Merge pull request #20 from ramnathv/shiny-resize

Adapt binding.resize for Shiny contexts