Added afterResize javascript callback
Merge pull request #396 from alex88/feature/afterResize

Added afterResize javascript callback #75, #394