Update styles on next/prev links