use outerWidth and outerHeight to take into account padding and border sizes when creating dropdown