Refactored dashboard to fit all screen sizes