removed duplicate collapse click files to create a single source of truth for the collapse click mode; makes it simpler to modify and consume
refactored a ui logic a bit to suit my needs; need to clean up and refactor a bit more to make it more flexible