adding width to dropdown menu

on dropdown show, define the width based input element width