Updated smart layer for posts, made it so the mobile version is used if the window is too small (<1300px)