New functions for resizing dropdown. 

Added window resize function to resize all dropdowns.