removed code for calculating select box position and responsive dialog (issue31)