disable up button if cur-dir == base-dir