Improve responsiveness of CardLayout

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>