How do you code black panels opening and closing

You would need to upload 2 black overlays and position one on top and one on bottom. Then shift them up and down.