made transition between borders adjustable in rc.cpp