added functionality for open/closed colored dot in  footer