fixes border slider