Dynamical billiards