improve custom checkbox layout