bind to $container instead of canvas
use max zindex
port downhandler
port movehandler