Fixing bugs with dashboard resize