Dropdown positioning

This is mainly fixing the problem with the dropdown example.