Added callback function for fade animations