Event handlers and cardsize and coordinates