Variable offset in sunset

This will sort that problem: