Added css codes to set max popup height to 400px to avoid appearing ugly default popup scrollbar