Baby safety gate for top of stairs