Slice panel with kinetic.js