making resize work and consistent blue on all edges