updated slidebox sourcecode ui with, how to initialize behaviour