Always correclty position the dropdown list

Adds a wrapper around the input and list to aid in calculating the
dropdown's position. Fixes #2