Started implementing sidebar functions.