CORE-344 adding styling for dropdown and JS function to automaticaly cho...

CORE-344 adding styling for dropdown and JS function to automaticaly choose position
@Smotko I've moved JS function into `dashboard-controller.js`on line 605. Please check to see if it's OK. I've made small testing and it's working. P.S. I've upgraded that JS script so it can auto position dropdown for new my dashboard page, so, when we start implementing that new dashboard next week JS will work for that dropdown also.

If you see that something is not moved correctly, can you please fix it and let me know where I've made mistake and why (if that is not taking you too much time?). Thanks.