Make drop down hide automatically