add overflow only on last slide