Code added for bubble as well picture hanging