Bugfix/hacky responsive sorting dropdowns

https://www.openproject.org/work_packages/8237