fix #664, layout for dropdown

This fixes #664