fixed pages lengths and offsets and home page a lot better but still need to fix for mobile size