added open and close callbacks
changed default sub menu width
added API info to readme