Implemented thread for flip cards