CORE-344 adding styling for dropdown and JS function to automaticaly choose position