Same inline for 2048 page

Pretty much the exact same code! This feels like bad programming
practice.