add collision detection when dropdown exceedes window width
reformatting