fixes bug where card doesn't exit screen entirely