update direction and text align for grid blocks to fix grid--rev for mobile breakpoint