general layout for two sided cards