Cabinet minister Jacob Rees-Mogg faced a whirl of criticism and mocking memes after reclining during a key Brexit debate.