Use collapse component/script instead of doing it manually