a directive for a sliding border between 2 elements, kind of like those in jsfiddle