fix bug with bounce in right