new animation that bounces off jpanel edges