Streamline fetching of previous and next styles