I thought about a similar idea, but I find your implementation way better than what I had in mind. Congrats!