Hello tcg15,
It is hard to tell you what is not working and what could be done without taking look at your code. Could you reproduce the issue in an online editor that I could work on? You can start here:
https://jsfiddle.net/BlackLabel/qcwkvy6r/
I'm looking for your response.
Best regards!