add dropDirection option

dropDirection support 'both', 'top', 'bottom'