Fix sidebar viewing issue caused by footer