Fix dashboard controller for mobile view