Fix dropdown alignment issue.

When the css for a f-dropdown has "right" in it, the caret at the top doesn't reflect it because that code is in the JS.