make floor border correct proportionally