Render based on top left distance. Clear cards after state change.
Merge branch 'master' of https://github.com/curtor/curtor.github.io