Adds a check to ensure separator bar does not go past limit