Updated responsive justify logic