added left and top border resize