created window docking function, fixed number of navigation issues in dashboard