1) Added collapse and expand text as options.
2) Pass options from intance to init() in handle_resize().