changed dashboard to use panels. Made a panel directive