added rubber band rendering