Added a function to work around dropdowns from being cut off